#!/usr/bin/bash


echo 'yes' | bin/redis-cli --cluster create \
{% for host in play_hosts %}
{% for port in redis_ports %}
{{host}}:{{port}} \
{% endfor %}
{% endfor %}
--cluster-replicas {{cluster_replicas}}